package org.mindrive.system.parameter.system;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "字典参数", description = "字典参数")
public class DictionaryParameter {

    @ApiModelProperty(value = "字典类型")
    @NotEmpty(message = "字典类型不能为空")
    private String typeId = "";

    @ApiModelProperty(value = "名称")
    @NotEmpty(message = "名称不能为空")
    private String name = "";

    @ApiModelProperty(value = "查询条件")
    private String condition = "";

}
